package com.study.lession.service;

import java.util.List;

import com.study.lession.domain.LessionTeacherInfo;

/**
 * 通讯录service接口
 * @author Administrator
 *
 */
public interface LessionTeacherInfoService {

	/**
	 * 添加一条通讯录
	 * @param lessionTeacherInfo
	 * @return
	 */
	public int addContact(LessionTeacherInfo lessionTeacherInfo);
	
	/**
	 * 修改通讯录
	 * @param lessionTeacherInfo
	 * @return
	 */
	public int editContact(LessionTeacherInfo lessionTeacherInfo);
	
	/**
	 * 删除通讯录
	 * @param id
	 * @return
	 */
	public int delContact(Long id);
	
	/**
	 * 根据条件查询通讯录列表
	 * @param queryVo
	 * @return
	 */
	public List<LessionTeacherInfo> queryLessionTeacherInfoList(LessionTeacherInfo queryVo);
	
	/**
	 * 根据主键查看通讯详情
	 * @param id
	 * @return
	 */
	public LessionTeacherInfo viewContact(Long id);
}
